html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.absolute() {
    position: absolute;
}

.shadow() {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.GPLOT {
    width: 100%;
    height: 100%;
    position: relative;
    user-select: none;
    overflow: hidden;

    &-movebar {
        cursor: col-resize;
        position: absolute;
        bottom: 0;
        margin-left: -5px;
        width: 10px;
    }

    &-Menu {
        .absolute();
        height: 35px;
        width: 100%;
        .shadow();
        z-index: 20;
        background-color: #FFFFFF;

        &-logo {
            height: 35px;
            line-height: 35px;
            font-size: 25px;
            color: blueviolet;
            padding: 0 20px;
            display: inline-block;
            border-right: 1px solid #eee;
            vertical-align: top;
        }

        &-item {
            vertical-align: top;
            height: 35px;
            line-height: 35px;
            padding: 0 20px;
            display: inline-block;
            border-right: 1px solid #eee;

            &:hover {
                background-color: #DDD;
                cursor: pointer;
            }
        }
    }

    &-Tool {
        .absolute();
        width: 35px;
        top: 35px;
        bottom: 0px;
        .shadow();
        background-color: #FFFFFF;
        padding-top: 10px;

        &-cutoff {
            margin: 5px 4px 10px 4px;
            border-top: 1px solid #efefef;
        }

        &-Item {
            width: 30px;
            height: 30px;
            margin: 0px 2px;
            background-size: 100% 100%;
            border: 1px solid #efefef;
            border-radius: 3px;
            background-color: #f5f5f5;
            cursor: pointer;

            &:hover {
                .shadow();
                background-color: #fff;
            }

            &.Active {
                .shadow();
                background-color: #CFCFCF;
            }

            &.Select {
                background-image: url(./icon/select.png);
            }

            &.Link {
                background-image: url(./icon/link.png);
            }

            &.Copy {
                background-image: url(./icon/copy.png);
            }

            &.Rectangle {
                background-image: url(./icon/Rectangle.png);
            }

            &.Circle {
                background-image: url(./icon/Circle.png);
            }

            &.Image {
                background-image: url(./icon/image.png);
            }

            &.Text {
                background-image: url(./icon/Text.png);
            }
        }
    }

    &-Board {
        .absolute();
        top: 35px;
        bottom: 35px;
        left: 35px;
        right: 300px;
        background-color: #FFFFFF;
        background-color: #777;

        &-view {
            .absolute();
            top: 20px;
            left: 20px;
            right: 0;
            bottom: 0;
            background-color: #EEE;
        }

        &-MoveMark {
            position: fixed;
            z-index: 999999;
            background-color: #333;
            cursor: move;
        }

        &-horizontal {
            width: 1920px;
            height: 20px;
            .absolute();
            top: 0;
            left: 20px;
            background-color: #777;
            .shadow();
        }

        &-vertical {
            width: 20px;
            height: 1000px;
            .absolute();
            top: 20px;
            left: 0;
            background-color: #777;
            .shadow();
        }

    }

    &-Status {
        .absolute();
        height: 35px;
        left: 35px;
        right: 300px;
        bottom: 0;
        .shadow();
        background-color: #FFFFFF
    }

    &-Options {
        .absolute();
        right: 0;
        width: 300px;
        bottom: 0;
        top: 35px;
        .shadow();
        background-color: #FFFFFF;

        &-tabs {
            height: 30px;
            width: 100%;
            box-shadow: 0 0 5px fade(#000, 20%);
            border-bottom: 1px solid #ccc;

            &-name {
                color: #999;
                display: inline-block;
                line-height: 30px;
                font-size: 14px;
                padding: 0 10px;
                border-right: 1px solid #ccc;
                cursor: pointer;

                &:hover {
                    color: #777;
                }

                &.active {
                    color: #333;
                }
            }
        }

        &-Content {
            position: absolute;
            top: 30px;
            bottom: 0;
            width: 100%;
            overflow: auto;

            &-body {
                padding: 5px 20px 5px 20px;

                .ivu-form-item {
                    margin-bottom: 0px;
                }

                .inputWidth {
                    width: 100%;
                }
            }

            &-title {
                margin-top: 5px;
                padding: 0 10px;
                line-height: 25px;
                border-bottom: 1px solid #ccc;
            }

            &-Mask {
                position: fixed;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                z-index: 9999;

                img {
                    pointer-events: none;
                    position: absolute;
                    width: 40px;
                    height: 40px;
                    margin: -20px 0 0 -20px;
                }
            }

            &-imageitem {
                display: inline-block;
                width: 85px;
                margin: 0 1.5%;
                text-align: center;
                padding: 5px 0;
                border-radius: 5px;
                cursor: pointer;

                &.small {
                    width: 30px;
                }

                img {
                    width: 60%;
                    margin: 0 auto;
                    display: block;
                }

                &:hover {
                    background-color: #ddd;
                }
            }
        }
    }
}